//
//  UIStartLodingView.h
//  YWToastView
//
//  Created by 余伟 on 16/12/18.
//  Copyright © 2016年 yuwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#define StartLodingViewimageViewWidth     60
#define StartLodingViewimageViewHeight    60

#define StartLodingViewleftmargin         20
#define StartLodingViewButtonColor        [UIColor blueColor]
#define StartLodingViewTextColor          [UIColor colorWithRed:41/255.0 green:113/255.0 blue:228/155.0 alpha:1.0]
#define StartLodingViewDescibeFont        [UIFont systemFontOfSize:14]
typedef NS_ENUM(NSInteger,YeeStartLodingState)
{
    YeeStartIsLodingState,//正在加载中..
    YeeStartHaveNoDataState,//无数据
    YeeStartHaveNoNetWorkState,//无网络
};
@interface UIStartLodingView : UIView
@property(nonatomic,retain) UIImageView  *imageView;
@property(nonatomic,retain) UIImageView  *lodingImageView;
@property(nonatomic,retain) UILabel      *describeLable;
@property(nonatomic,retain) UIButton     *reloadButton;

+ (UIStartLodingView *)sharedLodingView;
-(instancetype)initWithFrame:(CGRect)frame;

-(void)setMessageString:(NSString *)MessageString
          deslableColor:(UIColor *)textColor
            imageString:(NSString *)imageString
               forState:(YeeStartLodingState)state;

@end
